package com.partners.dao.basic;

import com.partners.dao.bo.TaskReadDO;
import org.apache.ibatis.annotations.Param;

public interface TaskReadDao {
    int deleteByPrimaryKey(Integer id);

    int insert(TaskReadDO record);

    int insertSelective(TaskReadDO record);

    TaskReadDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TaskReadDO record);

    int updateByPrimaryKey(TaskReadDO record);

    Integer selectExistReadByOpenId(@Param("openId") String openId,
                                    @Param("taskId") Integer taskId,
                                    @Param("uid") Integer uid);
}
